package com.atguigu.adapter.objectadapter;

/**
 * @author LYJ
 * @Description
 * @date 2021 年 09 月 16 日 下午4:34
 */
public class Client {
    public static void main(String[] args) {
        Phone phone = new Phone();
        VoltageAdapter voltageAdapter = new VoltageAdapter(new Voltage220V());
        phone.charging(voltageAdapter);
    }
}
